package com.example.studyinbetterlogin.model

import com.google.gson.annotations.SerializedName

data class Movies(
    @SerializedName("data")
    val data: List<Data>,
    @SerializedName("metadata")
    val metaData: Metadata
)


data class Data(
    @SerializedName("country")
    val country: String,
    @SerializedName("genres")
    val genres: List<String>,
    @SerializedName("id")
    val id: Int,
    @SerializedName("images")
    val images: List<String>,
    @SerializedName("imdb_rating")
    val imdbRating: String,
    @SerializedName("poster")
    val poster: String,
    @SerializedName("title")
    val title: String,
    @SerializedName("year")
    val year: String
)

data class Metadata(
    @SerializedName("current_page")
    val currentPage: String,
    @SerializedName("page_count")
    val pageCount: Int,
    @SerializedName("per_page")
    val perPage: Int,
    @SerializedName("total_count")
    val totalCount: Int
)